<include file="Public:headern"/>
<div class="top"><a href="javascript:history.back();"><img src="__PUBLIC__/Catalog/nimages/tb.png"></a>
    <p>收货地址</p>
</div>

<form action="{:U('Membership/manageaddress')}" method="post">
    <foreach name="address" item="vo">
        <div class="height25"></div> 
	    <div class="S-form_box2">
	      <p class="noneborder"><label>设为默认：</label><input type="radio" name="address_id" value="{$vo.address_id}" <if condition="$vo.default_flag eq 1">checked="checked"</if> /></p>
	      <p><label>姓名：</label>{$vo.lastname}</p>
	      <p><label>电话：</label>{$vo.phone}</p>
	      <p><label>地址：</label>{$vo.address_1}{$vo.address_2}</p>
	    </div>	
    </foreach>
    <div class="S-form_box"><input type="submit" class="sub" value="修改默认地址" /></div>
</form>
<div class="height25"></div> <div class="height25"></div> 
<div class="height25"></div> <div class="height25"></div> 


<script>
$(function(){
    if('{$msg}'!='0'){
        alert('{$msg}');
    }
});
</script>
<include file="Public:footern" />